﻿package events 
{
	import flash.events.Event;
	import model.Album;
	
	/**
	 * ...
	 * @author Slavshik Alexander
	 */
	public class AlbumEvent extends Event 
	{
		public static const ALBUM_INITED:String = "ainited";
		public var album:Album;
		
		public function AlbumEvent(type:String, album:Album = null) { 
			this.album = album;
			super(type, false, false);
		} 
		public override function toString():String { 
			return formatToString("AlbumEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}